<template>
  <yd-navbar height="0.9rem" class="header">
    <yd-icon name="qrscan" slot="left" size="0.4rem" color="#fff"></yd-icon>
    <div class="search" slot="center">
      <yd-icon name="search" size="0.3rem" color="#fff"></yd-icon>
    </div>
    <yd-icon name="share1" slot="right" size="0.4rem" color="#fff"></yd-icon>
  </yd-navbar>
</template>
<style scoped>
.search {
  padding-left: 8px;
  width: 100%;
  height: 0.56rem;
  line-height: 0.57rem;
  border-radius: 0.28rem;
  background: rgba(255, 255, 255, 0.3);
}
</style>
